package com.lagou.rocketmq.task.model.event;


public class CreateOrderEvent {

  private Integer productId;

  private Integer customerId;

  public CreateOrderEvent(Integer productId, Integer customerId) {
    this.productId = productId;
    this.customerId = customerId;
  }

  public Integer getProductId() {
    return productId;
  }

  public void setProductId(Integer productId) {
    this.productId = productId;
  }

  public Integer getCustomerId() {
    return customerId;
  }

  public void setCustomerId(Integer customerId) {
    this.customerId = customerId;
  }

  @Override
  public String toString() {
    return "CreateOrderEvent{" +
        "productId=" + productId +
        ", customerId=" + customerId +
        '}';
  }
}
